﻿@model MvcApplication9.Models.Ship

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>Ship</legend>

    <div class="display-label">Name</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Name)
    </div>

    <div class="display-label">Speed</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Speed)
    </div>

    <div class="display-label">Survey</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Survey)
    </div>

    <div class="display-label">Launch</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Launch)
    </div>

    <div class="display-label">Model</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Model)
    </div>

    <div class="display-label">Autonomy</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Autonomy)
    </div>

    <div class="display-label">DateBegin</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.DateBegin)
    </div>

    <div class="display-label">DateEnd</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.DateEnd)
    </div>

    <div class="display-label">Charge</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Cost.Charge)
    </div>

    <div class="display-label">Payment</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Cost.Payment)
    </div>

    <div class="display-label">Profit</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Cost.Profit)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.Id }) |
    @Html.ActionLink("Back to List", "Index")
</p>
